package com.cddx.logistics.domain.pojo;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class Insurance implements Serializable {
    @ApiModelProperty("主键ID")
    private Integer id;

    @NotBlank(message = "车牌号不能为空")
    @ApiModelProperty("车牌号")
    private String license;

    @ApiModelProperty("保险公司名称")
    private String insuraName;

    @ApiModelProperty("商业险保单号")
    private String insurancePolicy;

    @ApiModelProperty("商业险起始日期")
    private String insuranceDateTime;

    @ApiModelProperty("交强险保单号")
    private String strongPolicy;

    @ApiModelProperty("交强险起始日期")
    private String strongDateTime;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;
}